﻿@model ZoomLa.SQLDAL.SQL.PageSetting
@{
    
    int Recycler = ViewBag.Recycler;
}
@section head{
    <title>我的商品</title>
}
@section content{
    <div id="pageflag" data-nav="content" data-ban="cnt"></div>
    <div class="container margin_t5">
        <ol class="breadcrumb">
            <li><a title="会员中心" href="/User/Default">会员中心</a></li>
            @if (Recycler == 1)
            {
                <li><a title="我的商品" href="/User/Content/ProductList">我的商品</a></li>
                <li class="active">回收站</li>
            }
            else
            {
                <li class="active">
                    我的商品 <a href="ProductList?NodeID=@Request.QueryString["NodeID"]&Recycler=1">[回收站]</a>
                </li>
            }

        </ol>
    </div>
    <div class="container btn_green">
        <div id="nodeNav" class="col-lg-2 col-md-2 col-sm-2 col-xs-12 divBorder" style="height:500px;overflow-y:auto;">
            <div>
                @Html.Partial("_treeview", ViewBag.treeMod as ZoomLa.Controls.C_TreeView)
            </div>
        </div>
        <div class="col-lg-10 col-md-10 col-sm-10 col-xs-12">
            <div>
                @MvcHtmlString.Create(ViewBag.addlink)
            </div>
            <div class="margin_t5 table-responsive">
                @Html.Partial("ProductList_List")
            </div>
            <div style="margin-top: 5px;">
                @if (Recycler != 1)
                {
                    <button type="button" class="btn btn-primary" onclick='mvcpage.bat({ url: "Product_Del", confirm: "你确定要将选中项删除吗？" });'>批量删除</button>
                }
                else
                {
                    <button type="button" class="btn btn-primary" onclick='mvcpage.bat({ url: "Product_Recover", confirm: "你确定要还原选中项吗？" });'>批量还原</button>
                    <button type="button" class="btn btn-primary" onclick='mvcpage.bat({ url: "Product_RealDel", confirm: "你确定要将选中项彻底删除吗？" });'>彻底删除</button>
                }
            </div>
        </div>
    </div>
}
@section script{

}